package cn.qzit.label;

import javax.swing.*;

/**
 * ClassName : cn.qzit.MineLabel
 * Desc : 雷块
 *
 * @author : LINPQ
 * @date : 2022/4/13 15:15
 */
public class MineLabel extends JLabel {

        //周围雷数
        private int aroundCounts;
        //是否雷
        private boolean mine;
        //是否棋子
        private boolean flag;
        //是否问号
        private boolean wenhao;
        //是否展开
        private boolean open;
        //坐标
        private int row;
        private int col;

    public int getAroundCounts() {
        return aroundCounts;
    }

    public void setAroundCounts(int aroundCounts) {
        this.aroundCounts = aroundCounts;
    }

    public boolean isMine() {
        return mine;
    }

    public void setMine(boolean mine) {
        this.mine = mine;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public boolean isWenhao() {
        return wenhao;
    }

    public void setWenhao(boolean wenhao) {
        this.wenhao = wenhao;
    }

    public boolean isOpen() {
        return open;
    }

    public void setOpen(boolean open) {
        this.open = open;
    }

    public int getRow() {
        return row;
    }

    public void setRow(int row) {
        this.row = row;
    }

    public int getCol() {
        return col;
    }

    public void setCol(int col) {
        this.col = col;
    }
}
